<aside class="sidebar is-show" id="sidebar">
    <div class="sidebar-box">
        <ul class="uk-nav">
            <li class="uk-active"><a href="/"><i class="ico_home"></i><span>首页</span></a></li>

            {% for category in widget_categories %}
            <li class="uk-nav-header">{{ category.name | default(tag.slug | title) }}</li>
            {% for child in category.children|default([]) %}
                <li><a href="/#{{ category.id }}"><i class="ico_wallet"></i><span>{{ child.name | default(tag.slug | title) }}</span></a></li>
             {% endfor %}
            
            {% endfor %}

            <li class="uk-nav-header">支持</li>
            <li><a href="#modal-report" data-uk-toggle><i class="ico_report"></i><span>反馈</span></a></li>
            <li><a href="#modal-help" data-uk-toggle><i class="ico_help"></i><span>帮助&联系</span></a></li>
        </ul>
    </div>
</aside>